﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AddStudent.aspx.cs" Inherits="School.Pages.Admission.AddStudent"
    MasterPageFile="~/MasterALSafa.Master" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <script src="../Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <%# Eval("Capability")%>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <div>
                <table width="100%" cellpadding="0" cellspacing="0" border="0">
                    <tr>
                        <td>
                        </td>
                        <td>
                            <asp:TextBox ID="lblstudentid" runat="server" Enabled="False" BorderWidth="0" CssClass="datatransredonly"
                                Width="250px" Visible="false"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td width="150">
                            <asp:Label ID="lblFileNumber" runat="server" Text="رقم الملف" CssClass="datatransredonly"
                                Width="150px"></asp:Label>
                        </td>
                        <td align="right">
                            <asp:TextBox ID="txtFileNumber" runat="server" Width="250px" BorderWidth="0px" CssClass="datatransredonly"
                                Enabled="False"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="lblRegistrationNumber" runat="server" Text="رقم الطالب" CssClass="datatransredonly"
                                Width="150px"></asp:Label>
                        </td>
                        <td align="right">
                            <asp:TextBox ID="txtRegistrationNumber" runat="server" Width="250px" BorderWidth="0px"
                                Enabled="False" CssClass="datatransredonly" BorderStyle="None"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2" align="right">
                            <table cellpadding="0" cellspacing="0" align="right" border="0" width="100%">
                                <tr>
                                    <td width="150">
                                        <asp:Label ID="Label2" runat="server" Text="المجمع" CssClass="datatransredonly" Width="150px"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:DropDownList ID="ddlCampus" DataTextField="Name" DataValueField="Id" runat="server"
                                            Width="250px" AppendDataBoundItems="True" AutoPostBack="True" OnSelectedIndexChanged="ddlCampus_SelectedIndexChanged"
                                            CssClass="datatransredonly" Enabled="False">
                                            <asp:ListItem Value="0">اختيار</asp:ListItem>
                                        </asp:DropDownList>
                                    </td>
                                    <td rowspan="5" width="100px">
                                        &nbsp;<td rowspan="5">
                                            <asp:Image ID="Image1" runat="server" BorderColor="#000099" BorderStyle="None" Height="200px"
                                                ImageUrl="~/images/nopicture.jpg" Width="200px" ToolTip="اضغط لتغيير الصورة" />
                                            <br />
                                        </td>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="Label3" runat="server" Text="الشهاده" CssClass="datatransredonly"
                                            Width="150px"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:DropDownList ID="ddlCertificate" DataTextField="Name" DataValueField="Id" runat="server"
                                            Width="250px" AppendDataBoundItems="True" AutoPostBack="True" OnSelectedIndexChanged="ddlCertificate_SelectedIndexChanged"
                                            CssClass="datatransredonly" Enabled="False">
                                            <asp:ListItem Value="0">اختيار</asp:ListItem>
                                        </asp:DropDownList>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="Label4" runat="server" Text="المرحله" CssClass="datatransredonly"
                                            Width="150px"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:DropDownList ID="ddlStadge" DataTextField="Name" DataValueField="Id" runat="server"
                                            Width="250px" AppendDataBoundItems="True" AutoPostBack="True" OnSelectedIndexChanged="ddlStadge_SelectedIndexChanged"
                                            CssClass="datatransredonly" Enabled="False">
                                            <asp:ListItem Value="0">اختيار</asp:ListItem>
                                        </asp:DropDownList>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <asp:Label ID="Label5" runat="server" Text="الصف" CssClass="datatransredonly" Width="150px"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:DropDownList ID="ddltopgrad" DataTextField="Name" DataValueField="Id" runat="server"
                                            Width="250px" AppendDataBoundItems="True" CssClass="datatransredonly" Enabled="False">
                                            <asp:ListItem Value="0">اختيار</asp:ListItem>
                                        </asp:DropDownList>
                                    </td>
                                </tr>
                                <tr height="40">
                                    <td colspan="2">
                                        &nbsp;&nbsp;
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </div>
            <div id="headertab">
                <ul dir="rtl" id="headertab">
                    <asp:LinkButton ID="lbStudentData" runat="server" OnClick="lbStudentData_Click"> الطالب</asp:LinkButton>
                    &nbsp;
                    <asp:LinkButton ID="lbFatherData" runat="server" CssClass="tabclosed" OnClick="lbFatherData_Click"> الاب</asp:LinkButton>
                    &nbsp;
                    <asp:LinkButton ID="lbMotherData" runat="server" CssClass="tabclosed" OnClick="lbMotherData_Click"> الام</asp:LinkButton>
                    &nbsp;
                    <asp:LinkButton ID="lbCustodyData" runat="server" CssClass="tabclosed" OnClick="lbCustodyData_Click"> الوصي</asp:LinkButton>
                    &nbsp;
                    <asp:LinkButton ID="lbXSchoolData" runat="server" CssClass="tabclosed" OnClick="lbXSchoolData_Click">المدارس السابقة</asp:LinkButton>
                    &nbsp;
                    <asp:LinkButton ID="lbRelativesData" runat="server" CssClass="tabclosed" OnClick="lbRelativesData_Click">الاقارب المقيدين</asp:LinkButton>
                    &nbsp;
                    <asp:LinkButton ID="lbStudentQualificatioSkillData" runat="server" CssClass="tabclosed"
                        OnClick="lbStudentQualificatioSkillData_Click">قدرات / مهارت الطالب</asp:LinkButton>
                    &nbsp;
                    <asp:LinkButton ID="lbEmergencyData" runat="server" CssClass="tabclosed" OnClick="lbEmergencyData_Click">الطوارئ</asp:LinkButton>
                </ul>
            </div>
            <div id="content">
                &nbsp;<div valign="top">
                    <table width="90%" cellpadding="0" cellspacing="0" border="0" valign="top" align="center">
                        <tr valign="top">
                            <td>
                                <asp:Panel ID="pnl1" runat="server" Visible="true">
                                    <table width="100%" align="center" cellpadding="0" cellspacing="0" border="0">
                                        <tr>
                                            <td>
                                                <fieldset class="fieldset">
                                                    <legend class="title">بيانات الطالب</legend>
                                                    <table width="80%" align="center" cellpadding="0" cellspacing="0" border="0" class="table_text">
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblAr_FirstName" runat="server" Text="الاسم الاول" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox ID="txtAr_FirstName" runat="server" Width="150px" CssClass="text"></asp:TextBox>
                                                                <asp:RequiredFieldValidator ID="req_valid_txtAr_FirstName" runat="server" Display="Dynamic"
                                                                    ControlToValidate="txtAr_FirstName" ErrorMessage="*" CssClass="error"></asp:RequiredFieldValidator>
                                                            </td>
                                                            <td style="text-align: left">
                                                                <asp:TextBox ID="txtEn_FirstName" runat="server" Width="150px" CssClass="texten"></asp:TextBox>
                                                            </td>
                                                            <td>
                                                                <asp:Label ID="lblEn_FirstName" runat="server" Text="First Name" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblAr_SecondName" runat="server" Text="الاسم الثاني" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox ID="txtAr_SecondName" runat="server" Width="150px" CssClass="text"></asp:TextBox>
                                                                <asp:RequiredFieldValidator ID="req_valid_Ar_SecondName" runat="server" Display="Dynamic"
                                                                    ControlToValidate="txtAr_SecondName" ErrorMessage="*" CssClass="error"></asp:RequiredFieldValidator>
                                                            </td>
                                                            <td style="text-align: left">
                                                                <asp:TextBox ID="txtEn_SecondName" runat="server" Width="150px" CssClass="texten"></asp:TextBox>
                                                            </td>
                                                            <td>
                                                                <asp:Label ID="lblEn_SecondName" runat="server" Text="Second Name" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblAr_ThirdNmae" runat="server" Text="الاسم الثالث" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox ID="txtAr_ThirdNmae" runat="server" Width="150px" CssClass="text"></asp:TextBox>
                                                                <asp:RequiredFieldValidator ID="req_valid_txtAr_ThirdNmae" runat="server" Display="Dynamic"
                                                                    ControlToValidate="txtAr_ThirdNmae" ErrorMessage="*" CssClass="error"></asp:RequiredFieldValidator>
                                                            </td>
                                                            <td style="text-align: left">
                                                                <asp:TextBox ID="txtEn_ThirdName" runat="server" Width="150px" CssClass="texten"></asp:TextBox>
                                                            </td>
                                                            <td>
                                                                <asp:Label ID="lblEn_ThirdName" runat="server" Text="Third Name" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblAr_FourthName" runat="server" Text="الاسم الرابع" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox ID="txtAr_FourthName" runat="server" Width="150px" CssClass="text"></asp:TextBox>
                                                                <asp:RequiredFieldValidator ID="req_valid_txtAr_FourthName" runat="server" Display="Dynamic"
                                                                    ControlToValidate="txtAr_FourthName" ErrorMessage="*" CssClass="error"></asp:RequiredFieldValidator>
                                                            </td>
                                                            <td style="text-align: left">
                                                                <asp:TextBox ID="txtEn_FourthName" runat="server" Width="150px" CssClass="texten"></asp:TextBox>
                                                            </td>
                                                            <td>
                                                                <asp:Label ID="lblEn_FourthName" runat="server" Text="Fourth Name" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblGregorian_BirthDate" runat="server" Text="تاريخ الميلاد (م)" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox ID="txtGregorian_BirthDate" runat="server" Width="100px" CssClass="text"></asp:TextBox>
                                                                <asp:CalendarExtender ID="txtGregorian_BirthDate_CalendarExtender" runat="server"
                                                                    Enabled="True" TargetControlID="txtGregorian_BirthDate" Format="yyyy-MM-dd">
                                                                </asp:CalendarExtender>
                                                                <asp:RequiredFieldValidator ID="req_valid_txtGregorian_BirthDate" runat="server"
                                                                    ControlToValidate="txtGregorian_BirthDate" CssClass="error" Display="Dynamic"
                                                                    ErrorMessage="*"></asp:RequiredFieldValidator>
                                                            </td>
                                                            <%--<td style="text-align: left">
                                                                <asp:TextBox ID="txtStLoginName" runat="server" Width="150px" CssClass="texten"></asp:TextBox>

                                                            </td>
                                                            <td>
                                                                <asp:Label ID="Label1" runat="server" Text="Login Name" 
                                                                    CssClass="datatransredonly"></asp:Label>
                                                            </td>--%>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblHijri_BirthDate" runat="server" Text="تاريخ الميلاد (ه)" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox ID="txtHijri_BirthDate" runat="server" Width="100px" CssClass="text"></asp:TextBox>
                                                                <asp:CalendarExtender ID="txtHijri_BirthDate_CalendarExtender" runat="server" Enabled="True"
                                                                    TargetControlID="txtHijri_BirthDate" Format="yyyy-MM-dd">
                                                                </asp:CalendarExtender>
                                                            </td>
                                                            <%-- <td style="text-align: left">
                                                                <asp:TextBox ID="txtStLoginPassword" runat="server" Width="150px" 
                                                                    CssClass="texten"></asp:TextBox>
                                                            </td>
                                                            <td>
                                                                <asp:Label ID="Label6" runat="server" Text="Login Password" 
                                                                    CssClass="datatransredonly"></asp:Label>
                                                            </td>--%>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblGender_Id" runat="server" Text="النوع" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right" colspan="3">
                                                                <asp:DropDownList ID="ddlGender_Id" runat="server" Width="150px" CssClass="text">
                                                                </asp:DropDownList>
                                                                <asp:RequiredFieldValidator ID="req_valid_ddlGender_Id" runat="server" ControlToValidate="ddlGender_Id"
                                                                    CssClass="error" Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblReligion_Id" runat="server" Text="الديانه" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right" colspan="3">
                                                                <asp:DropDownList ID="ddlReligion_Id" runat="server" Width="150px" CssClass="text">
                                                                </asp:DropDownList>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblCountry_Id" runat="server" Text="الجنسية" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:ListBox ID="lbCountry_Id" runat="server" Width="150px" CssClass="text"></asp:ListBox>
                                                            </td>
                                                            <tr>
                                                                <td>
                                                                    <asp:Label ID="Label13" runat="server" Text="اسم المستخدم" CssClass="datatransredonly"></asp:Label>
                                                                </td>
                                                                <td align="right">
                                                                    <asp:TextBox runat="server" ID="txtStLoginName" CssClass="text"></asp:TextBox>
                                                                </td>
                                                                <td align="left">
                                                                    <asp:Button ID="btnCheckStudentUserName" runat="server" OnClick="btnCheckStudentUserName_Click"
                                                                        Text="التأكد من اسم المستخدم" Width="170px" CausesValidation="false" />
                                                                </td>
                                                                <td>
                                                                    <asp:Label runat="server" ID="lblCheckStudentUserNameMessage" Visible="false">لقد تم اضافة اسم المستخم من قبل</asp:Label>
                                                                </td>
                                                            </tr>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="Label14" runat="server" Text="كلمة السر" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox runat="server" ID="txtStLoginPassword" CssClass="text"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </fieldset>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <fieldset class="fieldset">
                                                    <legend class="title">بيانات الهوية</legend>
                                                    <table width="80%" align="center" cellpadding="0" cellspacing="0" border="0" class="table_text">
                                                        <tr>
                                                            <td width="114">
                                                                <asp:Label ID="lblID_Number" runat="server" Text="رقم الهوية" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox ID="txtID_Number" runat="server" Width="200px" CssClass="text" MaxLength="14"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblID_Gregorian_Issue_Date" runat="server" Text="تاريخ اصدار الهوية (م)"
                                                                    CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox ID="txtID_Gregorian_Issue_Date" runat="server" Width="100px" CssClass="text"></asp:TextBox>
                                                                <asp:CalendarExtender ID="txtID_Gregorian_Issue_Date_CalendarExtender" runat="server"
                                                                    Enabled="True" TargetControlID="txtID_Gregorian_Issue_Date" Format="yyyy-MM-dd">
                                                                </asp:CalendarExtender>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblID_Hijri_Issue_Date1" runat="server" Text="تاريخ اصدار الهوية (ه)"
                                                                    CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox ID="txtID_Hijri_Issue_Date1" runat="server" Width="100px" CssClass="text"></asp:TextBox>
                                                                <asp:CalendarExtender ID="txtID_Hijri_Issue_Date1_CalendarExtender" runat="server"
                                                                    Enabled="True" TargetControlID="txtID_Hijri_Issue_Date1" Format="yyyy-MM-dd">
                                                                </asp:CalendarExtender>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblPassport_Number" runat="server" Text="رقم جواز السفر" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox ID="txtPassport_Number" runat="server" Width="200px" CssClass="text"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblPassport_Gregorian_Issue_Date" runat="server" Text="تاريخ اصدار جواز السفر (م)"
                                                                    CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox ID="txtPassport_Gregorian_Issue_Date" runat="server" Width="100px" CssClass="text"></asp:TextBox>
                                                                <asp:CalendarExtender ID="txtPassport_Gregorian_Issue_Date_CalendarExtender" runat="server"
                                                                    Enabled="True" TargetControlID="txtPassport_Gregorian_Issue_Date" Format="yyyy-MM-dd">
                                                                </asp:CalendarExtender>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblPassport_Hijri_Issue_Date1" runat="server" Text="تاريخ اصدار جواز السفر (ه)"
                                                                    CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox ID="txtPassport_Hijri_Issue_Date1" runat="server" Width="100px" CssClass="text"></asp:TextBox>
                                                                <asp:CalendarExtender ID="txtPassport_Hijri_Issue_Date1_CalendarExtender" runat="server"
                                                                    Enabled="True" TargetControlID="txtPassport_Hijri_Issue_Date1" Format="yyyy-MM-dd">
                                                                </asp:CalendarExtender>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </fieldset>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <fieldset class="fieldset">
                                                    <legend class="title">الترتيب بين الاخوة</legend>
                                                    <table width="80%" align="center" cellpadding="0" cellspacing="0" border="0" class="table_text">
                                                        <tr>
                                                            <td width="114">
                                                                <asp:Label ID="lblArrangement_bt_Brothers" runat="server" Text="الترتيب بين الاخوة"
                                                                    CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:DropDownList ID="ddlArrangement_bt_Brothers" runat="server" Width="100px" CssClass="text">
                                                                    <asp:ListItem>1</asp:ListItem>
                                                                    <asp:ListItem>2</asp:ListItem>
                                                                    <asp:ListItem>3</asp:ListItem>
                                                                    <asp:ListItem>4</asp:ListItem>
                                                                    <asp:ListItem>5</asp:ListItem>
                                                                    <asp:ListItem>6</asp:ListItem>
                                                                    <asp:ListItem>7</asp:ListItem>
                                                                    <asp:ListItem>8</asp:ListItem>
                                                                    <asp:ListItem>9</asp:ListItem>
                                                                    <asp:ListItem>10</asp:ListItem>
                                                                </asp:DropDownList>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td colspan="2" align="right">
                                                                <asp:Label ID="lblUsed_Home_Languages" runat="server" Text="اللغات المستخدمة بشكل بدائم في المنزل"
                                                                    CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                &nbsp;
                                                            </td>
                                                            <td align="right">
                                                                <asp:ListBox ID="lbUsed_Home_Languages" runat="server" Width="200px" CssClass="text">
                                                                </asp:ListBox>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </fieldset>
                                            </td>
                                        </tr>
                                    </table>
                                </asp:Panel>
                            </td>
                        </tr>
                        <tr valign="top">
                            <td>
                                <asp:Panel ID="pnl2" runat="server" Visible="false">
                                    <table width="100%" align="center" cellpadding="0" cellspacing="0" border="0">
                                        <tr>
                                            <td>
                                                <fieldset class="fieldset">
                                                    <legend class="title">البيانات الشخصية</legend>
                                                    <table width="80%" align="center" cellpadding="0" cellspacing="0" border="0" class="table_text">
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblFAr_FirstName" runat="server" Text="الاسم الاول" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox ID="txtFAr_FirstName" runat="server" Width="150px" CssClass="text"></asp:TextBox>
                                                                <asp:RequiredFieldValidator ID="req_valid_txtAr_FirstName0" runat="server" ControlToValidate="txtFAr_FirstName"
                                                                    CssClass="error" Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator>
                                                            </td>
                                                            <td style="text-align: left">
                                                                <asp:TextBox ID="txtFEn_FirstName" runat="server" Width="150px" CssClass="texten"></asp:TextBox>
                                                            </td>
                                                            <td>
                                                                <asp:Label ID="lblFEn_FirstName" runat="server" Text="First Name" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblFAr_SecondName" runat="server" Text="الاسم الثاني" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox ID="txtFAr_SecondName" runat="server" Width="150px" CssClass="text"></asp:TextBox>
                                                                <asp:RequiredFieldValidator ID="req_valid_txtAr_FirstName1" runat="server" ControlToValidate="txtFAr_SecondName"
                                                                    CssClass="error" Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator>
                                                            </td>
                                                            <td style="text-align: left">
                                                                <asp:TextBox ID="txtFEn_SecondName" runat="server" Width="150px" CssClass="texten"></asp:TextBox>
                                                            </td>
                                                            <td>
                                                                <asp:Label ID="lblFEn_SecondName" runat="server" Text="Second Name" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblFAr_ThirdNmae" runat="server" Text="الاسم الثالث" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right" style="direction: ltr">
                                                                <asp:RequiredFieldValidator ID="req_valid_txtAr_FirstName2" runat="server" ControlToValidate="txtFAr_ThirdNmae"
                                                                    CssClass="error" Display="Dynamic" ErrorMessage="*"></asp:RequiredFieldValidator>
                                                                <asp:TextBox ID="txtFAr_ThirdNmae" runat="server" Width="150px" CssClass="text"></asp:TextBox>
                                                            </td>
                                                            <td style="text-align: left">
                                                                <asp:TextBox ID="txtFEn_ThirdName" runat="server" Width="150px" CssClass="texten"></asp:TextBox>
                                                            </td>
                                                            <td>
                                                                <asp:Label ID="lblFEn_ThirdName" runat="server" Text="Third Name" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblFAr_FourthName" runat="server" Text="الاسم الرابع" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox ID="txtFAr_FourthName" runat="server" Width="150px" CssClass="text"></asp:TextBox>
                                                            </td>
                                                            <td style="text-align: left">
                                                                <asp:TextBox ID="txtFEn_FourthName" runat="server" Width="150px" CssClass="texten"></asp:TextBox>
                                                            </td>
                                                            <td>
                                                                <asp:Label ID="lblFEn_FourthName" runat="server" Text="Fourth Name" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblFGregorian_BirthDate" runat="server" Text="تاريخ الميلاد (م)" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox ID="txtFGregorian_BirthDate" runat="server" Width="100px" CssClass="text"></asp:TextBox>
                                                                <asp:CalendarExtender ID="txtFGregorian_BirthDate_CalendarExtender" runat="server"
                                                                    Enabled="True" TargetControlID="txtFGregorian_BirthDate" Format="yyyy-MM-dd">
                                                                </asp:CalendarExtender>
                                                            </td>
                                                            <%-- <td style="text-align: left">
                                                                <asp:TextBox ID="txtFLoginName" runat="server" Width="150px" CssClass="texten"></asp:TextBox>
                                                            </td>
                                                            <td>
                                                                <asp:Label ID="Label7" runat="server" Text="Login Name" 
                                                                    CssClass="datatransredonly"></asp:Label>
                                                            </td>--%>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblFHijri_BirthDate" runat="server" Text="تاريخ الميلاد (ه)" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox ID="txtFHijri_BirthDate" runat="server" Width="100px" CssClass="text"></asp:TextBox>
                                                                <asp:CalendarExtender ID="txtFHijri_BirthDate_CalendarExtender" runat="server" Enabled="True"
                                                                    TargetControlID="txtFHijri_BirthDate" Format="yyyy-MM-dd">
                                                                </asp:CalendarExtender>
                                                            </td>
                                                            <%-- <td style="text-align: left">
                                                                <asp:TextBox ID="txtFloginPassword" runat="server" Width="150px" 
                                                                    CssClass="texten"></asp:TextBox>
                                                            </td>
                                                            <td>
                                                                <asp:Label ID="Label8" runat="server" Text="Login Password" 
                                                                    CssClass="datatransredonly"></asp:Label>
                                                            </td>--%>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblFCountry_Id" runat="server" Text="الجنسية" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:ListBox ID="lbFCountry_Id" runat="server" Width="200px" CssClass="text"></asp:ListBox>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="Label15" runat="server" Text="اسم المستخدم" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox runat="server" ID="txtFLoginName" CssClass="text"></asp:TextBox>
                                                            </td>
                                                            <td align="left">
                                                                <asp:Button ID="btnCheckFatherUserName" runat="server" OnClick="btnCheckFatherUserName_Click"
                                                                    Text="التأكد من اسم المستخدم" Width="170px" CausesValidation="false" />
                                                            </td>
                                                            <td>
                                                                <asp:Label runat="server" ID="lblCheckFatherUserNameMessage" Visible="false">لقد تم اضافة اسم المستخم من قبل</asp:Label>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="Label16" runat="server" Text="كلمة السر" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox runat="server" TextMode="Password" ID="txtFloginPassword" CssClass="text"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </fieldset>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <fieldset class="fieldset">
                                                    <legend class="title">بيانات المؤهل العلمي</legend>
                                                    <table width="80%" align="center" cellpadding="0" cellspacing="0" border="0" class="table_text">
                                                        <tr>
                                                            <td width="114">
                                                                <asp:Label ID="lblFQualification_Id" runat="server" Text="الؤهل العلمي" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:DropDownList ID="ddlFQualification_Id" runat="server" Width="200px" CssClass="text">
                                                                </asp:DropDownList>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblFSpecialization" runat="server" Text="التخصص" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox ID="txtFSpecialization" runat="server" Width="200px" CssClass="text"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblFPointOfGraduation" runat="server" Text="جهة التخرج" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox ID="txtFPointOfGraduation" runat="server" Width="200px" CssClass="text"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblFGreggorian_GraduationDate" runat="server" Text="تاريخ التخرج (م)"
                                                                    CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:DropDownList ID="ddlFGreggorian_GraduationDate" runat="server" Width="100px">
                                                                </asp:DropDownList>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblFHijri_GraduationDate" runat="server" Text="تاريخ التخرج (ه)" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:DropDownList ID="ddlFHijri_GraduationDate" runat="server" Width="100px">
                                                                </asp:DropDownList>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblFIdentification_Number" runat="server" Text="رقم الهوية" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox ID="txtFIdentification_Number" runat="server" Width="200px" CssClass="text"
                                                                    MaxLength="14"></asp:TextBox>
                                                                <asp:RegularExpressionValidator ID="RegularExpressionValidator45" runat="server"
                                                                    ErrorMessage="ادخل رقم الهوية بشكل صحيح" ControlToValidate="txtFIdentification_Number"
                                                                    ValidationExpression="[0-9]{14}" CssClass="error"></asp:RegularExpressionValidator>
                                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtFIdentification_Number"
                                                                    Display="Dynamic" ErrorMessage="*" CssClass="error"></asp:RequiredFieldValidator>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblFPasport_Number" runat="server" Text="رقم جواز السفر" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox ID="txtFPasport_Number" runat="server" Width="200px" CssClass="text"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </fieldset>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <fieldset class="fieldset">
                                                    <legend class="title">بيانات العمل</legend>
                                                    <table width="80%" align="center" cellpadding="0" cellspacing="0" border="0" class="table_text">
                                                        <tr>
                                                            <td width="114">
                                                                <asp:Label ID="lblFCareer" runat="server" Text="الوظيفة" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right" colspan="5">
                                                                <asp:DropDownList ID="ddlFCareer" runat="server" Width="200px" CssClass="text">
                                                                </asp:DropDownList>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblFCompanyName" runat="server" Text="الشركة" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right" colspan="5">
                                                                <asp:TextBox ID="txtFCompanyName" runat="server" Width="300px" CssClass="text"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblFBuildingNo" runat="server" Text="رقم المبني" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox ID="txtFBuildingNo" runat="server" Width="30px" CssClass="text"></asp:TextBox>
                                                                <asp:RegularExpressionValidator ID="RegularExpressionValidator27" runat="server"
                                                                    Display="Dynamic" ErrorMessage="ارقام فقط" CssClass="error" ValidationExpression="[0-9]{0,3}"
                                                                    ControlToValidate="txtFBuildingNo"></asp:RegularExpressionValidator>
                                                            </td>
                                                            <td style="text-align: left">
                                                                <asp:Label ID="lblFFloorNo" runat="server" Text="الدور" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox ID="txtFFloorNo" runat="server" Width="30px" CssClass="text"></asp:TextBox>
                                                                <asp:RegularExpressionValidator ID="RegularExpressionValidator28" runat="server"
                                                                    Display="Dynamic" ErrorMessage="ارقام فقط" CssClass="error" ValidationExpression="[0-9]{0,3}"
                                                                    ControlToValidate="txtFFloorNo"></asp:RegularExpressionValidator>
                                                            </td>
                                                            <td style="text-align: left">
                                                                <asp:Label ID="lblFFlatNo" runat="server" Text="رقم الشقة" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox ID="txtFFlatNo" runat="server" Width="30px" CssClass="text"></asp:TextBox>
                                                                <asp:RegularExpressionValidator ID="RegularExpressionValidator29" runat="server"
                                                                    Display="Dynamic" ErrorMessage="ارقام فقط" CssClass="error" ValidationExpression="[0-9]{0,3}"
                                                                    ControlToValidate="txtFFlatNo"></asp:RegularExpressionValidator>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblFStreetName" runat="server" Text="اسم الشارع" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right" colspan="5">
                                                                <asp:TextBox ID="txtFStreetName" runat="server" Width="300px" CssClass="text"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblFStat_Id" runat="server" Text="المحافظة" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right" colspan="5">
                                                                <asp:DropDownList ID="ddlFStat_Id" runat="server" Width="200px" CssClass="text" AutoPostBack="True"
                                                                    OnSelectedIndexChanged="ddlFStat_Id_SelectedIndexChanged">
                                                                </asp:DropDownList>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblFDistrict_Id" runat="server" Text="المنطقة" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right" colspan="5">
                                                                <asp:DropDownList ID="ddlFDistrict_Id" runat="server" Width="200px" CssClass="text">
                                                                </asp:DropDownList>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblFPostCode" runat="server" Text="الرقم البريدي" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right" colspan="5">
                                                                <asp:TextBox ID="txtFPostCode" runat="server" Width="100px" CssClass="text"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblFPhone1" runat="server" Text="الهاتف" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right" colspan="5">
                                                                <asp:TextBox ID="txtFPhone1" runat="server" Width="150px" CssClass="text"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                &nbsp;
                                                            </td>
                                                            <td align="right" colspan="5">
                                                                <asp:TextBox ID="txtFPhone2" runat="server" Width="150px" CssClass="text"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                &nbsp;
                                                            </td>
                                                            <td align="right" colspan="5">
                                                                <asp:TextBox ID="txtFPhone3" runat="server" Width="150px" CssClass="text"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblFInternalPhoneExtension" runat="server" Text="الرقم الداخلي" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right" colspan="5">
                                                                <asp:TextBox ID="txtFInternalPhoneExtension" runat="server" Width="150px" CssClass="text"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblFFAX" runat="server" Text="الفاكس" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right" colspan="5">
                                                                <asp:TextBox ID="txtFFAX" runat="server" Width="150px" CssClass="text"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblFMobile1" runat="server" Text="الجوال" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right" colspan="5">
                                                                <asp:TextBox ID="txtFMobile1" runat="server" Width="150px" CssClass="text"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                &nbsp;
                                                            </td>
                                                            <td align="right" colspan="5">
                                                                <asp:TextBox ID="txtFMobile2" runat="server" Width="150px" CssClass="text"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblFEmail1" runat="server" Text="البريد الالكتروني" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right" colspan="5">
                                                                <asp:TextBox ID="txtFEmail1" runat="server" Width="250px" CssClass="text"></asp:TextBox>
                                                                <asp:RegularExpressionValidator ID="RegularExpressionValidator21" runat="server"
                                                                    ControlToValidate="txtFEmail1" Display="Dynamic" ErrorMessage="خطأ في البريد الالكتروني"
                                                                    CssClass="error" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                &nbsp;
                                                            </td>
                                                            <td align="right" colspan="5">
                                                                <asp:TextBox ID="txtFEmail2" runat="server" Width="250px" CssClass="text"></asp:TextBox>
                                                                <asp:RegularExpressionValidator ID="RegularExpressionValidator22" runat="server"
                                                                    ControlToValidate="txtFEmail2" Display="Dynamic" ErrorMessage="خطأ في البريد الالكتروني"
                                                                    CssClass="error" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </fieldset>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <fieldset class="fieldset">
                                                    <legend class="title">بيانات المنزل</legend>
                                                    <table width="80%" align="center" cellpadding="0" cellspacing="0" border="0" class="table_text">
                                                        <tr>
                                                            <td width="114">
                                                                <asp:Label ID="lblFhBuildingNo" runat="server" Text="رقم المبني" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox ID="txtFhBuildingNo" runat="server" Width="30px" CssClass="text"></asp:TextBox>
                                                                <asp:RegularExpressionValidator ID="RegularExpressionValidator30" runat="server"
                                                                    Display="Dynamic" ErrorMessage="ارقام فقط" CssClass="error" ValidationExpression="[0-9]{0,3}"
                                                                    ControlToValidate="txtFhBuildingNo"></asp:RegularExpressionValidator>
                                                            </td>
                                                            <td style="text-align: left">
                                                                <asp:Label ID="lblFhFloorNo" runat="server" Text="الدور" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox ID="txtFhFloorNo" runat="server" Width="30px" CssClass="text"></asp:TextBox>
                                                                <asp:RegularExpressionValidator ID="RegularExpressionValidator31" runat="server"
                                                                    Display="Dynamic" ErrorMessage="ارقام فقط" CssClass="error" ValidationExpression="[0-9]{0,3}"
                                                                    ControlToValidate="txtFhFloorNo"></asp:RegularExpressionValidator>
                                                            </td>
                                                            <td style="text-align: left">
                                                                <asp:Label ID="lblFhFlatNo" runat="server" Text="رقم الشقة" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox ID="txtFhFlatNo" runat="server" Width="30px" CssClass="text"></asp:TextBox>
                                                                <asp:RegularExpressionValidator ID="RegularExpressionValidator32" runat="server"
                                                                    Display="Dynamic" ErrorMessage="ارقام فقط" CssClass="error" ValidationExpression="[0-9]{0,3}"
                                                                    ControlToValidate="txtFhFlatNo"></asp:RegularExpressionValidator>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblFhStreetName" runat="server" Text="اسم الشارع" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right" colspan="5">
                                                                <asp:TextBox ID="txtFhStreetName" runat="server" Width="300px" CssClass="text"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblFhStat_Id" runat="server" Text="المحافظة" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right" colspan="5">
                                                                <asp:DropDownList ID="ddlFhStat_Id" runat="server" Width="200px" CssClass="text"
                                                                    AutoPostBack="True" OnSelectedIndexChanged="ddlFhStat_Id_SelectedIndexChanged">
                                                                </asp:DropDownList>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblFhDistrict_Id" runat="server" Text="المنطقة" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right" colspan="5">
                                                                <asp:DropDownList ID="ddlFhDistrict_Id" runat="server" Width="200px" CssClass="text">
                                                                </asp:DropDownList>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblFhPostCode" runat="server" Text="الرقم البريدي" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right" colspan="5">
                                                                <asp:TextBox ID="txtFhPostCode" runat="server" Width="100px" CssClass="text"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblFhPhone1" runat="server" Text="الهاتف" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right" colspan="5">
                                                                <asp:TextBox ID="txtFhPhone1" runat="server" Width="200px" CssClass="text"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                &nbsp;
                                                            </td>
                                                            <td align="right" colspan="5">
                                                                <asp:TextBox ID="txtFhPhone2" runat="server" Width="200px" CssClass="text"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                &nbsp;
                                                            </td>
                                                            <td align="right" colspan="5">
                                                                <asp:TextBox ID="txtFhPhone3" runat="server" Width="200px" CssClass="text"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </fieldset>
                                            </td>
                                        </tr>
                                    </table>
                                </asp:Panel>
                            </td>
                        </tr>
                        <tr valign="top">
                            <td>
                                <asp:Panel ID="pnl3" runat="server" Visible="false">
                                    <table width="100%" align="center" cellpadding="0" cellspacing="0" border="0">
                                        <tr>
                                            <td>
                                                <fieldset class="fieldset">
                                                    <legend class="title">البيانات الشخصية</legend>
                                                    <table width="80%" align="center" cellpadding="0" cellspacing="0" border="0" class="table_text">
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblMAr_FirstName" runat="server" Text="الاسم الاول" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox ID="txtMAr_FirstName" runat="server" Width="150px" CssClass="text"></asp:TextBox>
                                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtMAr_FirstName"
                                                                    Display="Dynamic" ErrorMessage="*" CssClass="error"></asp:RequiredFieldValidator>
                                                            </td>
                                                            <td style="text-align: left">
                                                                <asp:TextBox ID="txtMEn_FirstName" runat="server" Width="150px" CssClass="texten"></asp:TextBox>
                                                            </td>
                                                            <td>
                                                                <asp:Label ID="lblMEn_FirstName" runat="server" Text="First Name" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblMAr_SecondName" runat="server" Text="الاسم الثاني" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox ID="txtMAr_SecondName" runat="server" Width="150px" CssClass="text"></asp:TextBox>
                                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtMAr_SecondName"
                                                                    Display="Dynamic" ErrorMessage="*" CssClass="error"></asp:RequiredFieldValidator>
                                                            </td>
                                                            <td style="text-align: left">
                                                                <asp:TextBox ID="txtMEn_SecondName" runat="server" Width="150px" CssClass="texten"></asp:TextBox>
                                                            </td>
                                                            <td>
                                                                <asp:Label ID="lblMEn_SecondName" runat="server" Text="Second Name" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblMAr_ThirdNmae" runat="server" Text="الاسم الثالث" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox ID="txtMAr_ThirdNmae" runat="server" Width="150px" CssClass="text"></asp:TextBox>
                                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtMAr_ThirdNmae"
                                                                    Display="Dynamic" ErrorMessage="*" CssClass="error"></asp:RequiredFieldValidator>
                                                            </td>
                                                            <td style="text-align: left">
                                                                <asp:TextBox ID="txtMEn_ThirdName" runat="server" Width="150px" CssClass="texten"></asp:TextBox>
                                                            </td>
                                                            <td>
                                                                <asp:Label ID="lblMEn_ThirdName" runat="server" Text="Third Name" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblMAr_FourthName" runat="server" Text="الاسم الرابع" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox ID="txtMAr_FourthName" runat="server" Width="150px" CssClass="text"></asp:TextBox>
                                                            </td>
                                                            <td style="text-align: left">
                                                                <asp:TextBox ID="txtMEn_FourthName" runat="server" Width="150px" CssClass="texten"></asp:TextBox>
                                                            </td>
                                                            <td>
                                                                <asp:Label ID="lblMEn_FourthName" runat="server" Text="Fourth Name" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblMGregorian_BirthDate" runat="server" Text="تاريخ الميلاد (م)" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox ID="txtMGregorian_BirthDate" runat="server" Width="100px" CssClass="text"></asp:TextBox>
                                                                <asp:CalendarExtender ID="txtMGregorian_BirthDate_CalendarExtender" runat="server"
                                                                    Enabled="True" TargetControlID="txtMGregorian_BirthDate" Format="yyyy-MM-dd">
                                                                </asp:CalendarExtender>
                                                            </td>
                                                            <td style="text-align: left">
                                                                <asp:TextBox ID="txtMLoginName" runat="server" Width="150px" CssClass="texten"></asp:TextBox>
                                                            </td>
                                                            <td>
                                                                <asp:Label ID="Label9" runat="server" Text="Login Name" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblMHijri_BirthDate" runat="server" Text="تاريخ الميلاد (ه)" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox ID="txtMHijri_BirthDate" runat="server" Width="100px" CssClass="text"></asp:TextBox>
                                                                <asp:CalendarExtender ID="txtMHijri_BirthDate_CalendarExtender" runat="server" Enabled="True"
                                                                    TargetControlID="txtMHijri_BirthDate" Format="yyyy-MM-dd">
                                                                </asp:CalendarExtender>
                                                            </td>
                                                            <td style="text-align: left">
                                                                <asp:TextBox ID="txtMLoginPassword" runat="server" Width="150px" CssClass="texten"></asp:TextBox>
                                                            </td>
                                                            <td>
                                                                <asp:Label ID="Label10" runat="server" Text="Login Password" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblMCountry_Id" runat="server" Text="الجنسية" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right" colspan="3">
                                                                <asp:ListBox ID="lbMCountry_Id" runat="server" Width="200px" CssClass="text"></asp:ListBox>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </fieldset>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <fieldset class="fieldset">
                                                    <legend class="title">بيانات المؤهل العلمي</legend>
                                                    <table width="80%" align="center" cellpadding="0" cellspacing="0" border="0" class="table_text">
                                                        <tr>
                                                            <td width="114">
                                                                <asp:Label ID="lblMQualification_Id" runat="server" Text="الؤهل العلمي" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:DropDownList ID="ddlMQualification_Id" runat="server" Width="200px" CssClass="text">
                                                                </asp:DropDownList>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblMSpecialization" runat="server" Text="التخصص" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox ID="txtMSpecialization" runat="server" Width="250px" CssClass="text"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblMPointOfGraduation" runat="server" Text="جهة التخرج" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox ID="txtMPointOfGraduation" runat="server" Width="250px" CssClass="text"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblMGreggorian_GraduationDate" runat="server" Text="تاريخ التخرج (م)"
                                                                    CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:DropDownList ID="ddlMGreggorian_GraduationDate" runat="server" Width="100px">
                                                                </asp:DropDownList>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblMHijri_GraduationDate" runat="server" Text="تاريخ التخرج (ه)" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:DropDownList ID="ddlMHijri_GraduationDate" runat="server" Width="100px">
                                                                </asp:DropDownList>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblMIdentification_Number" runat="server" Text="رقم الهوية" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox ID="txtMIdentification_Number" runat="server" Width="200px" CssClass="text"
                                                                    MaxLength="14"></asp:TextBox>
                                                                <asp:RegularExpressionValidator ID="RegularExpressionValidator46" runat="server"
                                                                    ErrorMessage="ادخل رقم الهوية بشكل صحيح" ControlToValidate="txtMIdentification_Number"
                                                                    ValidationExpression="[0-9]{14}" CssClass="error"></asp:RegularExpressionValidator>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblMPasport_Number" runat="server" Text="رقم جواز السفر" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox ID="txtMPasport_Number" runat="server" Width="200px" CssClass="text"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </fieldset>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <fieldset class="fieldset">
                                                    <legend class="title">بيانات العمل</legend>
                                                    <table width="80%" align="center" cellpadding="0" cellspacing="0" border="0" class="table_text">
                                                        <tr>
                                                            <td align="right">
                                                                <asp:CheckBox ID="chekboxmother" runat="server" Text="ربة منزل" Checked="true" AutoPostBack="True"
                                                                    OnCheckedChanged="chekboxmother_CheckedChanged" />
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Panel ID="pnlhouswaif" runat="server" Visible="false">
                                                                    <table width="100%" align="center" cellpadding="0" cellspacing="0" border="0">
                                                                        <tr>
                                                                            <td width="114">
                                                                                <asp:Label ID="lblMCareer" runat="server" Text="الوظيفة" CssClass="datatransredonly"></asp:Label>
                                                                            </td>
                                                                            <td align="right" colspan="5">
                                                                                <asp:DropDownList ID="ddlMCareer" runat="server" Width="200px" CssClass="text">
                                                                                </asp:DropDownList>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                <asp:Label ID="lblMCompanyName" runat="server" Text="الشركة" CssClass="datatransredonly"></asp:Label>
                                                                            </td>
                                                                            <td align="right" colspan="5">
                                                                                <asp:TextBox ID="txtMCompanyName" runat="server" Width="250px" CssClass="text"></asp:TextBox>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                <asp:Label ID="lblMBuildingNo" runat="server" Text="رقم المبني" CssClass="datatransredonly"></asp:Label>
                                                                            </td>
                                                                            <td align="right">
                                                                                <asp:TextBox ID="txtMBuildingNo" runat="server" Width="30px" CssClass="text"></asp:TextBox>
                                                                                <asp:RegularExpressionValidator ID="RegularExpressionValidator33" runat="server"
                                                                                    Display="Dynamic" ErrorMessage="ارقام فقط" CssClass="error" ValidationExpression="[0-9]{0,3}"
                                                                                    ControlToValidate="txtMBuildingNo"></asp:RegularExpressionValidator>
                                                                            </td>
                                                                            <td style="text-align: left">
                                                                                <asp:Label ID="lblMFloorNo" runat="server" Text="الدور" CssClass="datatransredonly"></asp:Label>
                                                                            </td>
                                                                            <td align="right">
                                                                                <asp:TextBox ID="txtMFloorNo" runat="server" Width="30px" CssClass="text"></asp:TextBox>
                                                                                <asp:RegularExpressionValidator ID="RegularExpressionValidator34" runat="server"
                                                                                    Display="Dynamic" ErrorMessage="ارقام فقط" CssClass="error" ValidationExpression="[0-9]{0,3}"
                                                                                    ControlToValidate="txtMFloorNo"></asp:RegularExpressionValidator>
                                                                            </td>
                                                                            <td style="text-align: left">
                                                                                <asp:Label ID="lblMFlatNo" runat="server" Text="رقم الشقة" CssClass="datatransredonly"></asp:Label>
                                                                            </td>
                                                                            <td align="right">
                                                                                <asp:TextBox ID="txtMFlatNo" runat="server" Width="30px" CssClass="text"></asp:TextBox>
                                                                                <asp:RegularExpressionValidator ID="RegularExpressionValidator35" runat="server"
                                                                                    Display="Dynamic" ErrorMessage="ارقام فقط" CssClass="error" ValidationExpression="[0-9]{0,3}"
                                                                                    ControlToValidate="txtMFlatNo"></asp:RegularExpressionValidator>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                <asp:Label ID="lblMStreetName" runat="server" Text="اسم الشارع" CssClass="datatransredonly"></asp:Label>
                                                                            </td>
                                                                            <td align="right" colspan="5">
                                                                                <asp:TextBox ID="txtMStreetName" runat="server" Width="300px" CssClass="text"></asp:TextBox>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                <asp:Label ID="lblMStat_Id" runat="server" Text="المحافظة" CssClass="datatransredonly"></asp:Label>
                                                                            </td>
                                                                            <td align="right" colspan="5">
                                                                                <asp:DropDownList ID="ddlMStat_Id" runat="server" Width="200px" CssClass="text" AutoPostBack="True"
                                                                                    OnSelectedIndexChanged="ddlMStat_Id_SelectedIndexChanged">
                                                                                </asp:DropDownList>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                <asp:Label ID="lblMDistrict_Id" runat="server" Text="المنطقة" CssClass="datatransredonly"></asp:Label>
                                                                            </td>
                                                                            <td align="right" colspan="5">
                                                                                <asp:DropDownList ID="ddlMDistrict_Id" runat="server" Width="200px" CssClass="text">
                                                                                </asp:DropDownList>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                <asp:Label ID="lblMPostCode" runat="server" Text="الرقم البريدي" CssClass="datatransredonly"></asp:Label>
                                                                            </td>
                                                                            <td align="right" colspan="5">
                                                                                <asp:TextBox ID="txtMPostCode" runat="server" Width="100px" CssClass="text"></asp:TextBox>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                <asp:Label ID="lblMPhone1" runat="server" Text="الهاتف" CssClass="datatransredonly"></asp:Label>
                                                                            </td>
                                                                            <td align="right" colspan="5">
                                                                                <asp:TextBox ID="txtMPhone1" runat="server" Width="200px" CssClass="text"></asp:TextBox>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                &nbsp;
                                                                            </td>
                                                                            <td align="right" colspan="5">
                                                                                <asp:TextBox ID="txtMPhone2" runat="server" Width="200px" CssClass="text"></asp:TextBox>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                &nbsp;
                                                                            </td>
                                                                            <td align="right" colspan="5">
                                                                                <asp:TextBox ID="txtMPhone3" runat="server" Width="200px" CssClass="text"></asp:TextBox>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                <asp:Label ID="lblMInternalPhoneExtension" runat="server" Text="الرقم الداخلي" CssClass="datatransredonly"></asp:Label>
                                                                            </td>
                                                                            <td align="right" colspan="5">
                                                                                <asp:TextBox ID="txtMInternalPhoneExtension" runat="server" Width="200px" CssClass="text"></asp:TextBox>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                <asp:Label ID="lblMFAX" runat="server" Text="الفاكس" CssClass="datatransredonly"></asp:Label>
                                                                            </td>
                                                                            <td align="right" colspan="5">
                                                                                <asp:TextBox ID="txtMFAX" runat="server" Width="200px" CssClass="text"></asp:TextBox>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                <asp:Label ID="lblMMobile1" runat="server" Text="الجوال" CssClass="datatransredonly"></asp:Label>
                                                                            </td>
                                                                            <td align="right" colspan="5">
                                                                                <asp:TextBox ID="txtMMobile1" runat="server" Width="200px" CssClass="text"></asp:TextBox>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                &nbsp;
                                                                            </td>
                                                                            <td align="right" colspan="5">
                                                                                <asp:TextBox ID="txtMMobile2" runat="server" Width="200px" CssClass="text"></asp:TextBox>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                <asp:Label ID="lblMEmail1" runat="server" Text="البريد الالكتروني" CssClass="datatransredonly"></asp:Label>
                                                                            </td>
                                                                            <td align="right" colspan="5">
                                                                                <asp:TextBox ID="txtMEmail1" runat="server" Width="200px" CssClass="text"></asp:TextBox>
                                                                                <asp:RegularExpressionValidator ID="RegularExpressionValidator23" runat="server"
                                                                                    ControlToValidate="txtMEmail1" Display="Dynamic" ErrorMessage="خطأ في البريد الالكتروني"
                                                                                    CssClass="error" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                &nbsp;
                                                                            </td>
                                                                            <td align="right" colspan="5">
                                                                                <asp:TextBox ID="txtMEmail2" runat="server" Width="200px" CssClass="text"></asp:TextBox>
                                                                                <asp:RegularExpressionValidator ID="RegularExpressionValidator24" runat="server"
                                                                                    ControlToValidate="txtMEmail2" Display="Dynamic" ErrorMessage="خطأ في البريد الالكتروني"
                                                                                    CssClass="error" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </asp:Panel>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </fieldset>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <fieldset class="fieldset">
                                                    <legend class="title">بيانات المنزل</legend>
                                                    <table width="80%" align="center" cellpadding="0" cellspacing="0" border="0" class="table_text">
                                                        <tr>
                                                            <td align="right">
                                                                <asp:CheckBox ID="chekboxthesameaddreeforfather" runat="server" Text="نفس عنوان الاب"
                                                                    Checked="true" AutoPostBack="true" OnCheckedChanged="chekboxthesameaddreeforfather_CheckedChanged" />
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Panel ID="pnlsamefatheraddress" runat="server" Visible="false">
                                                                    <table width="100%" align="center" cellspacing="0" cellpadding="0" border="0">
                                                                        <tr>
                                                                            <td width="114">
                                                                                <asp:Label ID="lblMhBuildingNo" runat="server" Text="رقم المبني" CssClass="datatransredonly"></asp:Label>
                                                                            </td>
                                                                            <td align="right">
                                                                                <asp:TextBox ID="txtMhBuildingNo" runat="server" Width="30px" CssClass="text"></asp:TextBox>
                                                                                <asp:RegularExpressionValidator ID="RegularExpressionValidator36" runat="server"
                                                                                    ControlToValidate="txtMhBuildingNo" Display="Dynamic" ErrorMessage="ارقام فقط"
                                                                                    CssClass="error" ValidationExpression="[0-9]{0,3}"></asp:RegularExpressionValidator>
                                                                            </td>
                                                                            <td style="text-align: left">
                                                                                <asp:Label ID="lblMhFloorNo" runat="server" Text="الدور" CssClass="datatransredonly"></asp:Label>
                                                                            </td>
                                                                            <td align="right">
                                                                                <asp:TextBox ID="txtMhFloorNo" runat="server" Width="30px" CssClass="text"></asp:TextBox>
                                                                                <asp:RegularExpressionValidator ID="RegularExpressionValidator37" runat="server"
                                                                                    ControlToValidate="txtMhFloorNo" Display="Dynamic" ErrorMessage="ارقام فقط" CssClass="error"
                                                                                    ValidationExpression="[0-9]{0,3}"></asp:RegularExpressionValidator>
                                                                            </td>
                                                                            <td style="text-align: left">
                                                                                <asp:Label ID="lblMhFlatNo" runat="server" Text="رقم الشقة" CssClass="datatransredonly"></asp:Label>
                                                                            </td>
                                                                            <td align="right">
                                                                                <asp:TextBox ID="txtMhFlatNo" runat="server" Width="30px" CssClass="text"></asp:TextBox>
                                                                                <asp:RegularExpressionValidator ID="RegularExpressionValidator38" runat="server"
                                                                                    ControlToValidate="txtMhFlatNo" Display="Dynamic" ErrorMessage="ارقام فقط" CssClass="error"
                                                                                    ValidationExpression="[0-9]{0,3}"></asp:RegularExpressionValidator>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                <asp:Label ID="lblMhStreetName" runat="server" Text="اسم الشارع" CssClass="datatransredonly"></asp:Label>
                                                                            </td>
                                                                            <td align="right" colspan="5">
                                                                                <asp:TextBox ID="txtMhStreetName" runat="server" Width="300px" CssClass="text"></asp:TextBox>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                <asp:Label ID="lblMhStat_Id" runat="server" Text="المحافظة" CssClass="datatransredonly"></asp:Label>
                                                                            </td>
                                                                            <td align="right" colspan="5">
                                                                                <asp:DropDownList ID="ddlMhStat_Id" runat="server" Width="200px" CssClass="text"
                                                                                    AutoPostBack="True" OnSelectedIndexChanged="ddlMhStat_Id_SelectedIndexChanged">
                                                                                </asp:DropDownList>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                <asp:Label ID="lblMhDistrict_Id" runat="server" Text="المنطقة" CssClass="datatransredonly"></asp:Label>
                                                                            </td>
                                                                            <td align="right" colspan="5">
                                                                                <asp:DropDownList ID="ddlMhDistrict_Id" runat="server" Width="200px" CssClass="text">
                                                                                </asp:DropDownList>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                <asp:Label ID="lblMhPostCode" runat="server" Text="الرقم البريدي" CssClass="datatransredonly"></asp:Label>
                                                                            </td>
                                                                            <td align="right" colspan="5">
                                                                                <asp:TextBox ID="txtMhPostCode" runat="server" Width="200px" CssClass="text"></asp:TextBox>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                <asp:Label ID="lblMhPhone1" runat="server" Text="الهاتف" CssClass="datatransredonly"></asp:Label>
                                                                            </td>
                                                                            <td align="right" colspan="5">
                                                                                <asp:TextBox ID="txtMhPhone1" runat="server" Width="200px" CssClass="text"></asp:TextBox>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                &nbsp;
                                                                            </td>
                                                                            <td align="right" colspan="5">
                                                                                <asp:TextBox ID="txtMhPhone2" runat="server" Width="200px" CssClass="text"></asp:TextBox>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                &nbsp;
                                                                            </td>
                                                                            <td align="right" colspan="5">
                                                                                <asp:TextBox ID="txtMhPhone3" runat="server" Width="200px" CssClass="text"></asp:TextBox>
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </asp:Panel>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </fieldset>
                                            </td>
                                        </tr>
                                    </table>
                                </asp:Panel>
                            </td>
                        </tr>
                        <tr valign="top">
                            <td>
                                <asp:Panel ID="pnl4" runat="server" Visible="false">
                                    <table width="100%" align="center" cellpadding="0" cellspacing="0" border="0">
                                        <tr>
                                            <td>
                                                <fieldset class="fieldset">
                                                    <legend class="title">صلة قرابة الوصي </legend>
                                                    <table width="80%" align="center" cellpadding="0" cellspacing="0" border="0" class="table_text">
                                                        <tr>
                                                            <td width="114">
                                                                <asp:Label ID="lblCParentsSocialStatus_Id" runat="server" Text="الحالة الاجتماعية"
                                                                    CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:ListBox ID="lbParentsSocialStatus_Id" runat="server" Width="200px" CssClass="text">
                                                                </asp:ListBox>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblCCustodyType_Id" runat="server" Text="الوصي علي الطالب" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:ListBox ID="lbCustodyType_Id" runat="server" Width="200px" CssClass="text">
                                                                </asp:ListBox>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblCStudentLivingPlace_Id" runat="server" Text="اين يعيش الطالب" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:ListBox ID="lbStudentLivingPlace_Id" runat="server" Width="200px" CssClass="text">
                                                                </asp:ListBox>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td colspan="2" align="right">
                                                                <asp:Label ID="lblCtitile" runat="server" Text="اذا كان الواصي او يعيش الطالب مع شخص اخر غير الاب و الام"
                                                                    CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblCRelationToStudent" runat="server" Text="العلاقة بالطالب" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox ID="txtCRelationToStudent" runat="server" Width="200px" CssClass="text"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </fieldset>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <fieldset class="fieldset">
                                                    <legend class="title">البيانات الشخصية</legend>
                                                    <table width="80%" align="center" cellpadding="0" cellspacing="0" border="0" class="table_text">
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblCAr_FirstName" runat="server" Text="الاسم الاول" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox ID="txtCAr_FirstName" runat="server" Width="150px" CssClass="text"></asp:TextBox>
                                                            </td>
                                                            <td style="text-align: left">
                                                                <asp:TextBox ID="txtCEn_FirstName" runat="server" Width="150px" CssClass="texten"></asp:TextBox>
                                                            </td>
                                                            <td>
                                                                <asp:Label ID="lblCEn_FirstName" runat="server" Text="First Name" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblCAr_SecondName" runat="server" Text="الاسم الثاني" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox ID="txtCAr_SecondName" runat="server" Width="150px" CssClass="text"></asp:TextBox>
                                                            </td>
                                                            <td style="text-align: left">
                                                                <asp:TextBox ID="txtCEn_SecondName" runat="server" Width="150px" CssClass="texten"></asp:TextBox>
                                                            </td>
                                                            <td>
                                                                <asp:Label ID="lblCEn_SecondName" runat="server" Text="Second Name" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblCAr_ThirdNmae" runat="server" Text="الاسم الثالث" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox ID="txtCAr_ThirdNmae" runat="server" Width="150px" CssClass="text"></asp:TextBox>
                                                            </td>
                                                            <td style="text-align: left">
                                                                <asp:TextBox ID="txtCEn_ThirdName" runat="server" Width="150px" CssClass="texten"></asp:TextBox>
                                                            </td>
                                                            <td>
                                                                <asp:Label ID="lblCEn_ThirdName" runat="server" Text="Second Name" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblCAr_FourthName" runat="server" Text="الاسم الرابع" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox ID="txtCAr_FourthName" runat="server" Width="150px" CssClass="text"></asp:TextBox>
                                                            </td>
                                                            <td style="text-align: left">
                                                                <asp:TextBox ID="txtCEn_FourthName" runat="server" Width="150px" CssClass="texten"></asp:TextBox>
                                                            </td>
                                                            <td>
                                                                <asp:Label ID="lblCEn_FourthName" runat="server" Text="Second Name" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblCGregorian_BirthDate" runat="server" Text="تاريخ الميلاد (م)" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox ID="txtCGregorian_BirthDate" runat="server" Width="100px" CssClass="text"></asp:TextBox>
                                                                <asp:CalendarExtender ID="txtCGregorian_BirthDate_CalendarExtender" runat="server"
                                                                    Enabled="True" TargetControlID="txtCGregorian_BirthDate" Format="yyyy-MM-dd">
                                                                </asp:CalendarExtender>
                                                            </td>
                                                            <td style="text-align: left">
                                                                <asp:TextBox ID="txtCEnLoginName" runat="server" Width="150px" CssClass="texten"></asp:TextBox>
                                                            </td>
                                                            <td>
                                                                <asp:Label ID="Label11" runat="server" Text="Login Name" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblCHijri_BirthDate" runat="server" Text="تاريخ الميلاد (ه)" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox ID="txtCHijri_BirthDate" runat="server" Width="100px" CssClass="text"></asp:TextBox>
                                                                <asp:CalendarExtender ID="txtCHijri_BirthDate_CalendarExtender" runat="server" Enabled="True"
                                                                    TargetControlID="txtCHijri_BirthDate" Format="yyyy-MM-dd">
                                                                </asp:CalendarExtender>
                                                            </td>
                                                            <td style="text-align: left">
                                                                <asp:TextBox ID="txtCEnLoginPassword" runat="server" Width="150px" CssClass="texten"></asp:TextBox>
                                                            </td>
                                                            <td>
                                                                <asp:Label ID="Label12" runat="server" Text="Login Password" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblCCountry_Id" runat="server" Text="الجنسية" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right" colspan="3">
                                                                <asp:ListBox ID="lbCCountry_Id" runat="server" Width="200px" CssClass="text"></asp:ListBox>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </fieldset>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <fieldset class="fieldset">
                                                    <legend class="title">بيانات المؤهل العلمي</legend>
                                                    <table width="80%" align="center" cellpadding="0" cellspacing="0" border="0" class="table_text">
                                                        <tr>
                                                            <td width="114">
                                                                <asp:Label ID="lblCQualification_Id" runat="server" Text="الؤهل العلمي" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:DropDownList ID="ddlCQualification_Id" runat="server" Width="200px" CssClass="text">
                                                                </asp:DropDownList>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblCSpecialization" runat="server" Text="التخصص" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox ID="txtCSpecialization" runat="server" Width="250px" CssClass="text"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblCPointOfGraduation" runat="server" Text="جهة التخرج" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox ID="txtCPointOfGraduation" runat="server" Width="250px" CssClass="text"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblCGreggorian_GraduationDate" runat="server" Text="تاريخ التخرج (م)"
                                                                    CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:DropDownList ID="ddlCGreggorian_GraduationDate" runat="server" Width="100px">
                                                                </asp:DropDownList>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblCHijri_GraduationDate" runat="server" Text="تاريخ التخرج (ه)" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:DropDownList ID="ddlCHijri_GraduationDate" runat="server" Width="100px">
                                                                </asp:DropDownList>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblCIdentification_Number" runat="server" Text="رقم الهوية" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox ID="txtCIdentification_Number" runat="server" Width="200px" CssClass="text"
                                                                    MaxLength="14"></asp:TextBox>
                                                                <asp:RegularExpressionValidator ID="RegularExpressionValidator47" runat="server"
                                                                    ErrorMessage="ادخل رقم الهوية بشكل صحيح" ControlToValidate="txtCIdentification_Number"
                                                                    ValidationExpression="[0-9]{14}" CssClass="error"></asp:RegularExpressionValidator>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblCPasport_Number" runat="server" Text="رقم جواز السفر" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox ID="txtCPasport_Number" runat="server" Width="200px" CssClass="text"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </fieldset>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <fieldset class="fieldset">
                                                    <legend class="title">بيانات العمل</legend>
                                                    <table width="80%" align="center" cellpadding="0" cellspacing="0" border="0" class="table_text">
                                                        <tr>
                                                            <td align="right">
                                                                <asp:CheckBox ID="typeid" runat="server" Checked="true" Text="ربة منزل" AutoPostBack="true"
                                                                    OnCheckedChanged="typeid_CheckedChanged" />
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Panel ID="pnlcustodytype" runat="server" Visible="false">
                                                                    <table width="100%" align="center" cellspacing="0" cellpadding="0" border="0">
                                                                        <tr>
                                                                            <td width="114">
                                                                                <asp:Label ID="lblCCareer" runat="server" Text="الوظيفة" CssClass="datatransredonly"></asp:Label>
                                                                            </td>
                                                                            <td align="right" colspan="5">
                                                                                <asp:DropDownList ID="ddlCCareer" runat="server" Width="200px" CssClass="text">
                                                                                </asp:DropDownList>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                <asp:Label ID="lblCCompanyName" runat="server" Text="الشركة" CssClass="datatransredonly"></asp:Label>
                                                                            </td>
                                                                            <td align="right" colspan="5">
                                                                                <asp:TextBox ID="txtCCompanyName" runat="server" Width="250px" CssClass="text"></asp:TextBox>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                <asp:Label ID="lblCBuildingNo" runat="server" Text="رقم المبني" CssClass="datatransredonly"></asp:Label>
                                                                            </td>
                                                                            <td align="right">
                                                                                <asp:TextBox ID="txtCBuildingNo" runat="server" Width="30px" CssClass="text"></asp:TextBox>
                                                                                <asp:RegularExpressionValidator ID="RegularExpressionValidator39" runat="server"
                                                                                    ControlToValidate="txtCBuildingNo" Display="Dynamic" ErrorMessage="ارقام فقط"
                                                                                    CssClass="error" ValidationExpression="[0-9]{0,3}"></asp:RegularExpressionValidator>
                                                                            </td>
                                                                            <td style="text-align: left">
                                                                                <asp:Label ID="lblCFloorNo" runat="server" Text="الدور" CssClass="datatransredonly"></asp:Label>
                                                                            </td>
                                                                            <td align="right">
                                                                                <asp:TextBox ID="txtCFloorNo" runat="server" Width="30px" CssClass="text"></asp:TextBox>
                                                                                <asp:RegularExpressionValidator ID="RegularExpressionValidator40" runat="server"
                                                                                    ControlToValidate="txtCFloorNo" Display="Dynamic" ErrorMessage="ارقام فقط" CssClass="error"
                                                                                    ValidationExpression="[0-9]{0,3}"></asp:RegularExpressionValidator>
                                                                            </td>
                                                                            <td style="text-align: left">
                                                                                <asp:Label ID="lblCFlatNo" runat="server" Text="رقم الشقة" CssClass="datatransredonly"></asp:Label>
                                                                            </td>
                                                                            <td align="right">
                                                                                <asp:TextBox ID="txtCFlatNo" runat="server" Width="30px" CssClass="text"></asp:TextBox>
                                                                                <asp:RegularExpressionValidator ID="RegularExpressionValidator41" runat="server"
                                                                                    ControlToValidate="txtCFlatNo" Display="Dynamic" ErrorMessage="ارقام فقط" CssClass="error"
                                                                                    ValidationExpression="[0-9]{0,3}"></asp:RegularExpressionValidator>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                <asp:Label ID="lblCStreetName" runat="server" Text="اسم الشارع" CssClass="datatransredonly"></asp:Label>
                                                                            </td>
                                                                            <td align="right" colspan="5">
                                                                                <asp:TextBox ID="txtCStreetName" runat="server" Width="300px" CssClass="text"></asp:TextBox>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                <asp:Label ID="lblCStat_Id" runat="server" Text="المحافظة" CssClass="datatransredonly"></asp:Label>
                                                                            </td>
                                                                            <td align="right" colspan="5">
                                                                                <asp:DropDownList ID="ddlCStat_Id" runat="server" Width="200px" CssClass="text" AutoPostBack="True"
                                                                                    OnSelectedIndexChanged="ddlCStat_Id_SelectedIndexChanged">
                                                                                </asp:DropDownList>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                <asp:Label ID="lblCDistrict_Id" runat="server" Text="المنطقة" CssClass="datatransredonly"></asp:Label>
                                                                            </td>
                                                                            <td align="right" colspan="5">
                                                                                <asp:DropDownList ID="ddlCDistrict_Id" runat="server" Width="200px" CssClass="text">
                                                                                </asp:DropDownList>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                <asp:Label ID="lblCPostCode" runat="server" Text="الرقم البريدي" CssClass="datatransredonly"></asp:Label>
                                                                            </td>
                                                                            <td align="right" colspan="5">
                                                                                <asp:TextBox ID="txtCPostCode" runat="server" Width="100px" CssClass="text"></asp:TextBox>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                <asp:Label ID="lblCPhone1" runat="server" Text="الهاتف" CssClass="datatransredonly"></asp:Label>
                                                                            </td>
                                                                            <td align="right" colspan="5">
                                                                                <asp:TextBox ID="txtCPhone1" runat="server" Width="200px" CssClass="text"></asp:TextBox>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                &nbsp;
                                                                            </td>
                                                                            <td align="right" colspan="5">
                                                                                <asp:TextBox ID="txtCPhone2" runat="server" Width="200px" CssClass="text"></asp:TextBox>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                &nbsp;
                                                                            </td>
                                                                            <td align="right" colspan="5">
                                                                                <asp:TextBox ID="txtCPhone3" runat="server" Width="200px" CssClass="text"></asp:TextBox>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                <asp:Label ID="lblCInternalPhoneExtension" runat="server" Text="الرقم الداخلي" CssClass="datatransredonly"></asp:Label>
                                                                            </td>
                                                                            <td align="right" colspan="5">
                                                                                <asp:TextBox ID="txtCInternalPhoneExtension" runat="server" Width="200px" CssClass="text"></asp:TextBox>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                <asp:Label ID="lblCFAX" runat="server" Text="الفاكس" CssClass="datatransredonly"></asp:Label>
                                                                            </td>
                                                                            <td align="right" colspan="5">
                                                                                <asp:TextBox ID="txtCFAX" runat="server" Width="200px" CssClass="text"></asp:TextBox>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                <asp:Label ID="lblCMobile1" runat="server" Text="الجوال" CssClass="datatransredonly"></asp:Label>
                                                                            </td>
                                                                            <td align="right" colspan="5">
                                                                                <asp:TextBox ID="txtCMobile1" runat="server" Width="200px" CssClass="text"></asp:TextBox>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                &nbsp;
                                                                            </td>
                                                                            <td align="right" colspan="5">
                                                                                <asp:TextBox ID="txtCMobile2" runat="server" Width="200px" CssClass="text"></asp:TextBox>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                <asp:Label ID="lblCEmail1" runat="server" Text="البريد الالكتروني" CssClass="datatransredonly"></asp:Label>
                                                                            </td>
                                                                            <td align="right" colspan="5">
                                                                                <asp:TextBox ID="txtCEmail1" runat="server" Width="200px" CssClass="text"></asp:TextBox>
                                                                                <asp:RegularExpressionValidator ID="RegularExpressionValidator25" runat="server"
                                                                                    ControlToValidate="txtCEmail1" Display="Dynamic" ErrorMessage="خطأ في البريد الالكتروني"
                                                                                    CssClass="error" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                &nbsp;
                                                                            </td>
                                                                            <td align="right" colspan="5">
                                                                                <asp:TextBox ID="txtCEmail2" runat="server" Width="200px" CssClass="text"></asp:TextBox>
                                                                                <asp:RegularExpressionValidator ID="RegularExpressionValidator26" runat="server"
                                                                                    ControlToValidate="txtCEmail2" Display="Dynamic" ErrorMessage="خطأ في البريد الالكتروني"
                                                                                    CssClass="error" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </asp:Panel>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </fieldset>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <fieldset class="fieldset">
                                                    <legend class="title">بيانات المنزل</legend>
                                                    <table width="80%" align="center" cellpadding="0" cellspacing="0" border="0" class="table_text">
                                                        <tr>
                                                            <td align="right">
                                                                <asp:CheckBox ID="chboxTheSameOfFatherAddress" runat="server" Text="نفس عنوان الاب"
                                                                    Checked="true" AutoPostBack="true" OnCheckedChanged="chboxTheSameOfFatherAddress_CheckedChanged" />
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Panel ID="PnlCustodySameOfFatherAddress" runat="server" Visible="false">
                                                                    <table width="100%" align="center" cellpadding="0" cellspacing="0" border="0">
                                                                        <tr>
                                                                            <td width="114">
                                                                                <asp:Label ID="lblChBuildingNo" runat="server" Text="رقم المبني" CssClass="datatransredonly"></asp:Label>
                                                                            </td>
                                                                            <td align="right">
                                                                                <asp:TextBox ID="txtChBuildingNo" runat="server" Width="30px" CssClass="text"></asp:TextBox>
                                                                                <asp:RegularExpressionValidator ID="RegularExpressionValidator42" runat="server"
                                                                                    ControlToValidate="txtChBuildingNo" Display="Dynamic" ErrorMessage="ارقام فقط"
                                                                                    CssClass="error" ValidationExpression="[0-9]{0,3}"></asp:RegularExpressionValidator>
                                                                            </td>
                                                                            <td style="text-align: left">
                                                                                <asp:Label ID="lblChFloorNo" runat="server" Text="الدور" CssClass="datatransredonly"></asp:Label>
                                                                            </td>
                                                                            <td align="right">
                                                                                <asp:TextBox ID="txtChFloorNo" runat="server" Width="30px" CssClass="text"></asp:TextBox>
                                                                                <asp:RegularExpressionValidator ID="RegularExpressionValidator43" runat="server"
                                                                                    ControlToValidate="txtChFloorNo" Display="Dynamic" ErrorMessage="ارقام فقط" CssClass="error"
                                                                                    ValidationExpression="[0-9]{0,3}"></asp:RegularExpressionValidator>
                                                                            </td>
                                                                            <td style="text-align: left">
                                                                                <asp:Label ID="lblChFlatNo" runat="server" Text="رقم الشقة" CssClass="datatransredonly"></asp:Label>
                                                                            </td>
                                                                            <td align="right">
                                                                                <asp:TextBox ID="txtChFlatNo" runat="server" Width="30px" CssClass="text"></asp:TextBox>
                                                                                <asp:RegularExpressionValidator ID="RegularExpressionValidator44" runat="server"
                                                                                    ControlToValidate="txtChFlatNo" Display="Dynamic" ErrorMessage="ارقام فقط" CssClass="error"
                                                                                    ValidationExpression="[0-9]{0,3}"></asp:RegularExpressionValidator>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                <asp:Label ID="lblChStreetName" runat="server" Text="اسم الشارع" CssClass="datatransredonly"></asp:Label>
                                                                            </td>
                                                                            <td align="right" colspan="5">
                                                                                <asp:TextBox ID="txtChStreetName" runat="server" Width="200px" CssClass="text"></asp:TextBox>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                <asp:Label ID="lblChStat_Id" runat="server" Text="المحافظة" CssClass="datatransredonly"></asp:Label>
                                                                            </td>
                                                                            <td align="right" colspan="5">
                                                                                <asp:DropDownList ID="ddlChStat_Id" runat="server" Width="200px" CssClass="text"
                                                                                    AutoPostBack="True" OnSelectedIndexChanged="ddlChStat_Id_SelectedIndexChanged">
                                                                                </asp:DropDownList>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                <asp:Label ID="lblChDistrict_Id" runat="server" Text="المنطقة" CssClass="datatransredonly"></asp:Label>
                                                                            </td>
                                                                            <td align="right" colspan="5">
                                                                                <asp:DropDownList ID="ddlChDistrict_Id" runat="server" Width="200px" CssClass="text">
                                                                                </asp:DropDownList>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                <asp:Label ID="lblChPostCode" runat="server" Text="الرقم البريدي" CssClass="datatransredonly"></asp:Label>
                                                                            </td>
                                                                            <td align="right" colspan="5">
                                                                                <asp:TextBox ID="txtChPostCode" runat="server" Width="200px" CssClass="text"></asp:TextBox>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                <asp:Label ID="lblChPhone1" runat="server" Text="الهاتف" CssClass="datatransredonly"></asp:Label>
                                                                            </td>
                                                                            <td align="right" colspan="5">
                                                                                <asp:TextBox ID="txtChPhone1" runat="server" Width="200px" CssClass="text"></asp:TextBox>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                &nbsp;
                                                                            </td>
                                                                            <td align="right" colspan="5">
                                                                                <asp:TextBox ID="txtChPhone2" runat="server" Width="200px" CssClass="text"></asp:TextBox>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>
                                                                                &nbsp;
                                                                            </td>
                                                                            <td align="right" colspan="5">
                                                                                <asp:TextBox ID="txtChPhone3" runat="server" Width="200px" CssClass="text"></asp:TextBox>
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </asp:Panel>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </fieldset>
                                            </td>
                                        </tr>
                                    </table>
                                </asp:Panel>
                            </td>
                        </tr>
                        <tr valign="top">
                            <td>
                                <asp:Panel ID="pnl5" runat="server" Visible="false">
                                    <table width="100%" align="center" cellpadding="0" cellspacing="0" border="0">
                                        <tr>
                                            <td>
                                                <fieldset class="fieldset">
                                                    <legend class="title">المدراس السابقة</legend>
                                                    <table width="100%" align="center" cellpadding="0" cellspacing="0" border="0" class="table_text">
                                                        <tr>
                                                            <td width="114">
                                                                <asp:Label Width="80" ID="lblSatrtDate" runat="server" Text="من" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox ID="txtSatrtDate" runat="server" Width="150px"></asp:TextBox>
                                                                <asp:CalendarExtender ID="txtSatrtDate_CalendarExtender" runat="server" Enabled="True"
                                                                    TargetControlID="txtSatrtDate" Format="yyyy-MM-dd">
                                                                </asp:CalendarExtender>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label Width="80" ID="lblEndDate" runat="server" Text="الى" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox ID="txtEndDate" runat="server" Width="150px"></asp:TextBox>
                                                                <asp:CalendarExtender ID="txtEndDate_CalendarExtender" runat="server" Enabled="True"
                                                                    TargetControlID="txtEndDate" Format="yyyy-MM-dd">
                                                                </asp:CalendarExtender>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label Width="80px" ID="lblSchoolName" runat="server" Text="المدرسة" CssClass="datatransredonly"
                                                                    Height="27px"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox ID="txtSchoolName" runat="server" Width="250px"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label Width="80" ID="lblAddress" runat="server" Text="العنوان" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox ID="txtAddress" runat="server" Width="250px"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label Width="80" ID="lblCertification" runat="server" Text="الشهادة" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:DropDownList ID="ddlCertification" runat="server" Width="150px" AutoPostBack="True"
                                                                    OnSelectedIndexChanged="ddlCertification_SelectedIndexChanged">
                                                                </asp:DropDownList>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label Width="80" ID="lblGrade" runat="server" Text="المرحلة" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:DropDownList ID="ddlGrade" runat="server" Width="150px" AutoPostBack="True"
                                                                    OnSelectedIndexChanged="ddlGrade_SelectedIndexChanged" Enabled="False">
                                                                </asp:DropDownList>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label Width="80" ID="lblClass" runat="server" Text="الصف" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:DropDownList ID="ddlClass" runat="server" Width="150px" Enabled="False">
                                                                </asp:DropDownList>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label Width="80" ID="lblFirstLanguage" runat="server" Text="اللغة الاولى" CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:DropDownList ID="ddlFirstLanguage" runat="server" Width="150px">
                                                                </asp:DropDownList>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label Width="80" ID="lblSecondLanguage" runat="server" Text="اللغة الثانية"
                                                                    CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:DropDownList ID="ddlSecondLanguage" runat="server" Width="150px">
                                                                </asp:DropDownList>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td colspan="2" style="text-align: center">
                                                                <asp:Label ID="lblschoolmessage" runat="server" Text="" CssClass="error"></asp:Label>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td colspan="2" align="right">
                                                                <asp:Button ID="btnaddtogrid" runat="server" Text="اضافة مدرسة" CssClass="graybutton"
                                                                    OnClick="btnaddtogrid_Click" />
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td colspan="2">
                                                                <asp:GridView ID="griddataxschools" runat="server" Width="100%" OnRowCommand="griddataxschools_RowCommand"
                                                                    DataKeyNames="id" OnRowDataBound="griddataxschools_RowDataBound" HeaderStyle-CssClass="GridHeaderFooter"
                                                                    FooterStyle-CssClass="GridHeaderFooter" PagerStyle-CssClass="GridPager" AlternatingRowStyle-CssClass="GridItemAltername">
                                                                    <AlternatingRowStyle CssClass="GridItemAltername" />
                                                                    <Columns>
                                                                        <asp:TemplateField ShowHeader="False">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="LnkDelete" runat="server" CausesValidation="False" CommandName="OnDelete"
                                                                                    Text="حذف"></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                    <FooterStyle CssClass="GridHeaderFooter" />
                                                                    <HeaderStyle CssClass="GridHeaderFooter" />
                                                                    <PagerStyle CssClass="GridPager" />
                                                                </asp:GridView>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </fieldset>
                                            </td>
                                        </tr>
                                    </table>
                                </asp:Panel>
                            </td>
                        </tr>
                        <tr valign="top">
                            <td>
                                <asp:Panel ID="pnl6" runat="server" Visible="false">
                                    <table width="100%" align="center" cellpadding="0" cellspacing="0" border="0">
                                        <tr>
                                            <td>
                                                <fieldset class="fieldset">
                                                    <legend class="title">االاقارب المقيدين</legend>
                                                    <table width="80%" align="center" cellpadding="0" cellspacing="0" border="0" class="table_text">
                                                        <tr>
                                                            <td colspan="2" align="right">
                                                                <asp:Button ID="btnaddrelative" runat="server" Font-Bold="True" Font-Size="10pt"
                                                                    Text="بحث الاخوة" CssClass="graybutton" OnClick="btnaddrelative_Click" />
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td width="150">
                                                                اسم الطالب
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox ID="txtmyrelstudentid" runat="server" Width="250px" BorderWidth="0px"
                                                                    CssClass="datatransredonly" Enabled="False" ForeColor="Red"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                رقم الطالب
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox ID="lblmyrelstudentid" runat="server" Enabled="false" ForeColor="Red"
                                                                    BorderWidth="0" CssClass="datatransredonly"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr height="40">
                                                            <td colspan="2">
                                                                &nbsp;
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td colspan="2" align="right">
                                                                <asp:Button ID="btnsearchrelative" runat="server" Font-Bold="True" Font-Size="10pt"
                                                                    Text="بحث الاقارب" CssClass="graybutton" />
                                                                <br />
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                اسم الطالب
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox ID="txtrelativeresualt" runat="server" Width="250px" BorderWidth="0px"
                                                                    CssClass="datatransredonly" Enabled="False" ForeColor="Red"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                رقم الطالب
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox ID="lblrelativeresualt" runat="server" Enabled="false" ForeColor="Red"
                                                                    BorderWidth="0" CssClass="datatransredonly"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td>
                                                                <asp:Label ID="lblrelativedet" runat="server">نوع الصلة</asp:Label>
                                                            </td>
                                                            <td align="right">
                                                                <asp:TextBox ID="txtrelativedet" runat="server" Width="250px"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td colspan="2" align="right">
                                                                <asp:Button ID="btnsaverelative" runat="server" Text="حفظ الاقارب" CssClass="graybutton"
                                                                    OnClick="btnsaverelative_Click" Width="100px" />
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td colspan="2">
                                                                <asp:GridView Width="100%" ID="griddatarelative" runat="server" CssClass="Grid" HeaderStyle-CssClass="GridHeaderFooter"
                                                                    FooterStyle-CssClass="GridHeaderFooter" PagerStyle-CssClass="GridPager" AlternatingRowStyle-CssClass="GridItemAltername"
                                                                    DataKeyNames="Id" OnRowDataBound="griddatarelative_RowDataBound" OnRowCommand="griddatarelative_RowCommand">
                                                                    <AlternatingRowStyle CssClass="GridItemAltername" />
                                                                    <Columns>
                                                                        <asp:TemplateField ShowHeader="False">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="LnkDelete" runat="server" CausesValidation="False" CommandName="OnDelete"
                                                                                    Text="حذف"></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                    <FooterStyle CssClass="GridHeaderFooter" />
                                                                    <HeaderStyle CssClass="GridHeaderFooter" />
                                                                    <PagerStyle CssClass="GridPager" />
                                                                </asp:GridView>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </fieldset>
                                            </td>
                                        </tr>
                                    </table>
                                </asp:Panel>
                            </td>
                        </tr>
                        <tr valign="top">
                            <td>
                                <asp:Panel ID="pnl7" runat="server" Visible="false">
                                    <table width="100%">
                                        <tr>
                                            <td align="right">
                                                <asp:Repeater ID="QualificationSkillRepeater" runat="server">
                                                    <ItemTemplate>
                                                        <table width="100%" align="center" cellpadding="0" cellspacing="0" border="0">
                                                            <tr>
                                                                <td>
                                                                    <asp:Label ID="lblID" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "ID") %> '
                                                                        Visible="false"></asp:Label>
                                                                    <ul>
                                                                        <li><b>
                                                                            <%# Eval("Capability")%></b></li>
                                                                    </ul>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                    <asp:CheckBox ID="cbIsExist" runat="server" Text="نعم يوجد" />
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td>
                                                                    <asp:Label ID="lbldetail" runat="server" Text="تفاصيل"></asp:Label>
                                                                    <br />
                                                                    <asp:TextBox ID="txtDetail" runat="server" TextMode="MultiLine" Width="60%" Height="60"></asp:TextBox>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </ItemTemplate>
                                                </asp:Repeater>
                                            </td>
                                        </tr>
                                    </table>
                                </asp:Panel>
                            </td>
                        </tr>
                        <tr valign="top">
                            <td>
                                <asp:Panel ID="pnl8" runat="server" Visible="false">
                                    <table width="100%" align="center" cellpadding="0" cellspacing="0" border="0">
                                        <tr>
                                            <td>
                                                <fieldset class="fieldset">
                                                    <legend class="title">بيانات الطوارئ</legend>
                                                    <table width="80%" align="center" cellpadding="0" cellspacing="0" border="0" class="table_text">
                                                        <tr>
                                                            <td align="center">
                                                                <asp:Label ID="lblName" runat="server" Text="الاسم " CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="center">
                                                                <asp:Label ID="lblPhone" runat="server" Text="الهاتف " CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                            <td align="center">
                                                                <asp:Label ID="lblMobilePhone" runat="server" Text="الجوال " CssClass="datatransredonly"></asp:Label>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td style="text-align: center">
                                                                <asp:TextBox ID="txtName1" runat="server"></asp:TextBox>
                                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" Display="Dynamic"
                                                                    ErrorMessage="*" CssClass="error" ControlToValidate="txtName1"></asp:RequiredFieldValidator>
                                                            </td>
                                                            <td style="text-align: center">
                                                                <asp:TextBox ID="txtPhone1" runat="server"></asp:TextBox>
                                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" Display="Dynamic"
                                                                    ErrorMessage="*" CssClass="error" ControlToValidate="txtPhone1"></asp:RequiredFieldValidator>
                                                            </td>
                                                            <td style="text-align: center">
                                                                <asp:TextBox ID="txtMobilePhone1" runat="server"></asp:TextBox>
                                                                <asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server" Display="Dynamic"
                                                                    ErrorMessage="*" CssClass="error" ControlToValidate="txtMobilePhone1"></asp:RequiredFieldValidator>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td style="text-align: center">
                                                                <asp:TextBox ID="txtName2" runat="server"></asp:TextBox>
                                                            </td>
                                                            <td style="text-align: center">
                                                                <asp:TextBox ID="txtPhone2" runat="server"></asp:TextBox>
                                                            </td>
                                                            <td style="text-align: center">
                                                                <asp:TextBox ID="txtMobilePhone2" runat="server"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td style="text-align: center">
                                                                <asp:TextBox ID="txtName3" runat="server"></asp:TextBox>
                                                            </td>
                                                            <td style="text-align: center">
                                                                <asp:TextBox ID="txtPhone3" runat="server"></asp:TextBox>
                                                            </td>
                                                            <td style="text-align: center">
                                                                <asp:TextBox ID="txtMobilePhone3" runat="server"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td style="text-align: center">
                                                                <asp:TextBox ID="txtName4" runat="server"></asp:TextBox>
                                                            </td>
                                                            <td style="text-align: center">
                                                                <asp:TextBox ID="txtPhone4" runat="server"></asp:TextBox>
                                                            </td>
                                                            <td style="text-align: center">
                                                                <asp:TextBox ID="txtMobilePhone4" runat="server"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                        <tr>
                                                            <td style="text-align: center">
                                                                <asp:TextBox ID="txtName5" runat="server"></asp:TextBox>
                                                            </td>
                                                            <td style="text-align: center">
                                                                <asp:TextBox ID="txtPhone5" runat="server"></asp:TextBox>
                                                            </td>
                                                            <td style="text-align: center">
                                                                <asp:TextBox ID="txtMobilePhone5" runat="server"></asp:TextBox>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </fieldset>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="right">
                                                <asp:Button ID="btnSaveAll" runat="server" Text="حفظ بيانات الطالب كاملة" OnClick="btnSaveAll_Click"
                                                    Style="font-weight: 700" CssClass="graybutton" />
                                            </td>
                                        </tr>
                                    </table>
                                </asp:Panel>
                            </td>
                        </tr>
                        <tr>
                            <td align="center">
                                <asp:Label ID="lblmessages" runat="server" Text="" CssClass="error" Width="100%"></asp:Label>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <%# Eval("Capability")%>
</asp:Content>
